package cn.edu.fzu.homemaking.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import cn.edu.fzu.homemaking.web.Result;

/**
 * @author yifan
 * @date 2023/4/7
 */
@FeignClient(value = "user")
public interface UserApi {
    @GetMapping("/api/user/area/list")
    Result listArea(@RequestParam("cityId") Long cityId);

    @GetMapping("/api/user/city/list")
    Result listCity(@RequestParam("ProvinceId") Long provinceId);

    @GetMapping("/api/user/province/list")
    Result listProvince();

}
